package edu.university.demo.common;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class TestGit {

	public static void main(String[] args) {
		
		Pattern pattern = Pattern.compile("[a-zA-Z\u4e00-\u9fa5]{6,10}");
		Matcher matcher = pattern.matcher("梁立港哈哈哈");
		System.out.println(matcher.matches());
	}
}
